demo: add a demo for blend modes
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 1 Jul 2016 22:39:04 +0000 (19:39 -0300)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 3 Jul 2016 21:24:47 +0000 (17:24 -0400)
commit1d93cc2b0b88bcc02f8a15d80b8a75d61d0cb24a
treef796bfe224909a03cf6bbac49ba261646f8f0de9
parent27fea1c4fc7e178fd435a4bb0c5d5c836d72ed09
demo: add a demo for blend modes

After introducing the CSS blend mode enum values and including
the background-blend-mode CSS property, it is very important to
actually provide an example of the new feature.

This patch adds a new demo to gtk3-demo which shows how the
background-blend-mode CSS property works.

https://bugzilla.gnome.org/show_bug.cgi?id=768305
demos/gtk-demo/Makefile.am
demos/gtk-demo/blendmodes.ui [new file with mode: 0644]
demos/gtk-demo/blends.png [new file with mode: 0644]
demos/gtk-demo/cmy.jpg [new file with mode: 0644]
demos/gtk-demo/css_blendmodes.c [new file with mode: 0644]
demos/gtk-demo/css_blendmodes.css [new file with mode: 0644]
demos/gtk-demo/demo.gresource.xml
demos/gtk-demo/ducky.png [new file with mode: 0644]